package com.ljfiction.book.fragment.transactionrecord;

import java.util.List;

/**
 * Created by Android on 2017/12/26.
 */

public class DingyueBean {

    /**
     * returnCode : 200
     * msg : 数据加载成功！
     * data : {"pageNum":1,"pageSize":15,"size":3,"startRow":1,"endRow":3,"total":3,"pages":1,"list":[{"id":3,"bookName":"我爱喝红牛","bookId":2,"bookChapterId":33,"bookChapterName":"第二章","userId":6,"userName":"不带一阵风2","subscriptionPrice":0,"subscriptionDateTime":1514279677000,"moneyType":0},{"id":1,"bookName":"不带一阵风","bookId":14,"bookChapterId":32,"bookChapterName":"冯vvvvv过","userId":6,"userName":"不带一阵风2","subscriptionPrice":0,"subscriptionDateTime":1514275618000,"moneyType":0},{"id":2,"bookName":"不带一阵风","bookId":14,"bookChapterId":31,"bookChapterName":"冯v不能喝","userId":6,"userName":"不带一阵风2","subscriptionPrice":0,"subscriptionDateTime":1514275619000,"moneyType":0}],"firstPage":1,"prePage":0,"nextPage":0,"lastPage":1,"isFirstPage":true,"isLastPage":true,"hasPreviousPage":false,"hasNextPage":false,"navigatePages":8,"navigatepageNums":[1]}
     */

    private int returnCode;
    private String msg;
    private DataBean data;

    public int getReturnCode() {
        return returnCode;
    }

    public void setReturnCode(int returnCode) {
        this.returnCode = returnCode;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * pageNum : 1
         * pageSize : 15
         * size : 3
         * startRow : 1
         * endRow : 3
         * total : 3
         * pages : 1
         * list : [{"id":3,"bookName":"我爱喝红牛","bookId":2,"bookChapterId":33,"bookChapterName":"第二章","userId":6,"userName":"不带一阵风2","subscriptionPrice":0,"subscriptionDateTime":1514279677000,"moneyType":0},{"id":1,"bookName":"不带一阵风","bookId":14,"bookChapterId":32,"bookChapterName":"冯vvvvv过","userId":6,"userName":"不带一阵风2","subscriptionPrice":0,"subscriptionDateTime":1514275618000,"moneyType":0},{"id":2,"bookName":"不带一阵风","bookId":14,"bookChapterId":31,"bookChapterName":"冯v不能喝","userId":6,"userName":"不带一阵风2","subscriptionPrice":0,"subscriptionDateTime":1514275619000,"moneyType":0}]
         * firstPage : 1
         * prePage : 0
         * nextPage : 0
         * lastPage : 1
         * isFirstPage : true
         * isLastPage : true
         * hasPreviousPage : false
         * hasNextPage : false
         * navigatePages : 8
         * navigatepageNums : [1]
         */

        private int pageNum;
        private int pageSize;
        private int size;
        private int startRow;
        private int endRow;
        private int total;
        private int pages;
        private int firstPage;
        private int prePage;
        private int nextPage;
        private int lastPage;
        private boolean isFirstPage;
        private boolean isLastPage;
        private boolean hasPreviousPage;
        private boolean hasNextPage;
        private int navigatePages;
        private List<ListBean> list;
        private List<Integer> navigatepageNums;

        public int getPageNum() {
            return pageNum;
        }

        public void setPageNum(int pageNum) {
            this.pageNum = pageNum;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public int getStartRow() {
            return startRow;
        }

        public void setStartRow(int startRow) {
            this.startRow = startRow;
        }

        public int getEndRow() {
            return endRow;
        }

        public void setEndRow(int endRow) {
            this.endRow = endRow;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getPages() {
            return pages;
        }

        public void setPages(int pages) {
            this.pages = pages;
        }

        public int getFirstPage() {
            return firstPage;
        }

        public void setFirstPage(int firstPage) {
            this.firstPage = firstPage;
        }

        public int getPrePage() {
            return prePage;
        }

        public void setPrePage(int prePage) {
            this.prePage = prePage;
        }

        public int getNextPage() {
            return nextPage;
        }

        public void setNextPage(int nextPage) {
            this.nextPage = nextPage;
        }

        public int getLastPage() {
            return lastPage;
        }

        public void setLastPage(int lastPage) {
            this.lastPage = lastPage;
        }

        public boolean isIsFirstPage() {
            return isFirstPage;
        }

        public void setIsFirstPage(boolean isFirstPage) {
            this.isFirstPage = isFirstPage;
        }

        public boolean isIsLastPage() {
            return isLastPage;
        }

        public void setIsLastPage(boolean isLastPage) {
            this.isLastPage = isLastPage;
        }

        public boolean isHasPreviousPage() {
            return hasPreviousPage;
        }

        public void setHasPreviousPage(boolean hasPreviousPage) {
            this.hasPreviousPage = hasPreviousPage;
        }

        public boolean isHasNextPage() {
            return hasNextPage;
        }

        public void setHasNextPage(boolean hasNextPage) {
            this.hasNextPage = hasNextPage;
        }

        public int getNavigatePages() {
            return navigatePages;
        }

        public void setNavigatePages(int navigatePages) {
            this.navigatePages = navigatePages;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public List<Integer> getNavigatepageNums() {
            return navigatepageNums;
        }

        public void setNavigatepageNums(List<Integer> navigatepageNums) {
            this.navigatepageNums = navigatepageNums;
        }

        public static class ListBean {
            /**
             * id : 3
             * bookName : 我爱喝红牛
             * bookId : 2
             * bookChapterId : 33
             * bookChapterName : 第二章
             * userId : 6
             * userName : 不带一阵风2
             * subscriptionPrice : 0
             * subscriptionDateTime : 1514279677000
             * moneyType : 0
             */

            private int id;
            private String bookName;
            private int bookId;
            private int bookChapterId;
            private String bookChapterName;
            private int userId;
            private String userName;
            private int subscriptionPrice;
            private long subscriptionDateTime;
            private int moneyType;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getBookName() {
                return bookName;
            }

            public void setBookName(String bookName) {
                this.bookName = bookName;
            }

            public int getBookId() {
                return bookId;
            }

            public void setBookId(int bookId) {
                this.bookId = bookId;
            }

            public int getBookChapterId() {
                return bookChapterId;
            }

            public void setBookChapterId(int bookChapterId) {
                this.bookChapterId = bookChapterId;
            }

            public String getBookChapterName() {
                return bookChapterName;
            }

            public void setBookChapterName(String bookChapterName) {
                this.bookChapterName = bookChapterName;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public String getUserName() {
                return userName;
            }

            public void setUserName(String userName) {
                this.userName = userName;
            }

            public int getSubscriptionPrice() {
                return subscriptionPrice;
            }

            public void setSubscriptionPrice(int subscriptionPrice) {
                this.subscriptionPrice = subscriptionPrice;
            }

            public long getSubscriptionDateTime() {
                return subscriptionDateTime;
            }

            public void setSubscriptionDateTime(long subscriptionDateTime) {
                this.subscriptionDateTime = subscriptionDateTime;
            }

            public int getMoneyType() {
                return moneyType;
            }

            public void setMoneyType(int moneyType) {
                this.moneyType = moneyType;
            }
        }
    }
}
